//引入animate动画库
require("../../libs/animate.min.css");
//移入页面的css样式
require("./ad.less");
//引入自定义js
let obj = require("../../assets/js/my.js");
//引入验证码js
let $ = obj.$;
// 倒计时实现
window.addEventListener("load", function () {
	let timeID = setInterval(() => {
		$("#Count").textContent -= 1;
		if ($("#Count").textContent == 0) {
			clearInterval(timeID);
			location.href = "./login.html";
		}
	}, 1000);
	//跳过按钮
	$("#Btn").addEventListener("click", function () {
		location.href = "./login.html";
	});
});
